$(document).ready(function(){
	//页面地址
	var __PAGEURL = $(".page_url").val()+"?c=npn&";
	//统计
	statistics("tab-9.9");
	
	$(".you_share_btn").click(function(){
		var _pic = "http://ctc.qzonestyle.gtimg.cn/qzonestyle/act/qzone_app_img/app100656353_100656353_100.png";
		var _shareinfo = shareInfo();
		_shareinfo[2] = "我在玩这个好玩的哦~~~"; 
		apishare(_shareinfo, _pic, 0, 1);
		//统计
		statistics("分享-9.9");
	});
	/*-----------------begin 1.商品点击2.金币兑换点击---------------*/
	//1.商品点击
	$(".picture_list dl").on("click","dt a,.pic_img a,.pro_intro .youbotton",function(){
		var _id = $(this).parents("dl").data("id");
		$.ajax({
			type: "GET",
			url: __PAGEURL+"m=AjaxGoodsClick",
			data: "id="+_id+"&",
			dataType: "html",
			success: function(rs) {}
		});
	});
	//2.金币兑换点击
	$(".99-to-auction").click(function(){
		statistics("金币兑换-9.9");
	});
	/*-----------------end 1.商品点击2.金币兑换点击---------------*/
});